package com.nauu.atombuilder.editors;

import org.eclipse.jface.viewers.CellEditor;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.views.properties.PropertyDescriptor;

public class GridColumnsDescriptor extends PropertyDescriptor{
	
	public GridColumnsDescriptor(Object id, String displayName) {

	       super(id, displayName);

	   }

	    public CellEditor createPropertyEditor(Composite parent) {

	        CellEditor editor = new GridColumnsEditor(parent);

	           if (getValidator() != null)

	               editor.setValidator(getValidator());

	           return editor;

	       }



}
